<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="hmg.common.CommonUtils"%>
<%@ page import="hmg.vo.BoardVO"%>
<%@ page import="java.util.List"%>
<%-- 
    JSP Name : jspName.jsp
    Description : 설명을 기술합니다.
    author Kim hyung soo
    since 2012. 9. 25.
    version 1.0
    Modification Information
       since          author              description
    ===========    =============    ===========================
    2012. 9. 25.     Kim hyung soo     최초 생성
--%>
<%
    String compType = CommonUtils.getParameter(request.getParameter("compType"), "0");
    String currPage = CommonUtils.getParameter(request.getParameter("page"), "1");
    boolean isHTML = false;
    
    BoardVO news = (BoardVO) request.getAttribute("NewsInfo");
    List<BoardVO> comboboxList = (List<BoardVO>) request.getAttribute("ComboboxList");
    
    if (news.getHTMLState().equals("Y") == true)
        isHTML = true;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="ko" xml:lang="ko" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>직무 인터뷰 | 현대자동차그룹</title>
<meta name="description" content="현대자동차그룹 계열사별 직무 인터뷰 소개" />
<meta name="keywords" content="현대자동차그룹 직무 인터뷰, 현대차그룹 직무 인터뷰, 계열사 직무 인터뷰, 인터뷰" />
<%@ include file="/WEB-INF/jsp/web/kor/include/headerRecruit.jspf" %>
<script type="text/javaScript">
//<![CDATA[

$(document).ready(function(){
    $('#btn-top').click ( function () {
        $('.jspDrag').css({'top':'0px'});
        $('.jspPane').css({'top':'0px'});
    });
});

function fn_change_viewPage(listID) {
    document.location.href="./JobInterviewView.do?listID=" + listID + "&compType=0&page=1";
}

//]]>
</script>
</head>
<body>
    <!--wrap-->
    <div id="wrap">
        <!-- skip navigation -->
        <div id="skipnavition">
            <a href="#gnb">메뉴바로가기</a><a href="#content">본문바로가기</a>
        </div>
        <!--// skip navigation -->

        <hr />

        <!-- header-->
        <%@ include file="/WEB-INF/jsp/web/kor/include/leftEtc.jspf" %>
        <!--//header-->

        <hr />
    
        <!--container-->
        <div id="container">
            <div id="btn-top"><a href="#"><img src="/hmg/images/web/kor/common/move-top3.png" alt="TOP" /></a></div>
            <div class="scroll-pane">
                <!--contents-->
                <div id="content">
                    <!--<h1><img src="/hmg/images/web/kor/gbc/gbc_logo.gif" alt="HYUNDAI MOTOR GROUP" /></h1>-->
                    <!--recruit-->
                    <div class="recurit_Wrap">
                        <h2><img src="/hmg/images/web/kor/job/recruit_title.png" alt="인재채용" /></h2>
                        <h3><img src="/hmg/images/web/kor/job/interview_title.png" alt="직무인터뷰 - 전문성에 열정에 더한다! 현대자동차그룹 피플 소개" /></h3>

                        <!-- 내용 -->
                        <div class="recurit_contents">
                            <div class="pageLocation">
                                <ul>
                                    <li class="home"><a href="/hmg/web/kor/Main.do"><img src="/hmg/images/web/kor/common/location_home.gif" alt="홈" /></a></li>
                                    <li><a href="/hmg/web/kor/job/JobSubMain.do">인재채용</a></li>
                                    <li class="nowPage"><a href="/hmg/web/kor/job/itv/JobInterviewList.do">직무인터뷰</a></li>
                                </ul>
                            </div>
        
                            <div class="link_box">
                                <ul>
                                    <li><a href="/hmg/web/kor/job/tln/Talent.do"><img src="/hmg/images/web/kor/job/quickmenu_img01.png" alt="인재상소개"  /></a></li>
                                    <li><a href="/hmg/web/kor/job/int/JobIntroductionMain.do"><img src="/hmg/images/web/kor/job/quickmenu_img02.png" alt="직무 소개"  /></a></li>
                                    <li><a href="/hmg/web/kor/job/itv/JobInterviewList.do"><img src="/hmg/images/web/kor/job/quickmenu_img03.png" alt="직무 인터뷰"  /></a></li>
                                    <li><a href="/hmg/web/kor/job/grp/GroupPeopleList.do"><img src="/hmg/images/web/kor/job/quickmenu_img04.png" alt="그룹사람들"  /></a></li>
                                    <li class="last"><a href="/hmg/web/kor/job/rct/RecruitList.do"><img src="/hmg/images/web/kor/job/quickmenu_img05.png" alt="채용정보"  /></a></li>
                                </ul>
                            </div>
                                
                            <div class="job_Interview">
                                <div class="interview_article">
                                    <div class="people_select">
                                        <div class="left">
                                            <select onchange="javascript:fn_change_viewPage(this.value);">
<%
if (comboboxList != null && comboboxList.size() > 0) {
    for (int idx = 0; idx < comboboxList.size(); idx++) {
        int listNum = idx + 1;
        
        BoardVO combo = comboboxList.get(idx);
        Integer currListID = new Integer(request.getParameter("listID"));

        if (combo.getListID() == currListID)
            out.println("<option value=\"" + combo.getListID() + "\" selected>" + listNum + ".  " + combo.getCompName() + " - " + combo.getInterviewName() + "</option>");
        else
            out.println("<option value=\"" + combo.getListID() + "\">" + listNum + ".  " + combo.getCompName() + " - " + combo.getInterviewName() + "</option>");
    }
}
%>
                                            </select>
                                        </div>
                                        <div class="right">
                                            <a href="./JobInterviewList.do?compType=<%= compType %>&page=<%= currPage %>"><img src="/hmg/images/web/kor/btn/btn_list02.gif" alt="목록" /></a>
                                        </div>
                                    </div>
    
                                    <div><%= CommonUtils.getWebText(news.getWebContent(), isHTML) %></div>
    
                                    <div class="people_select02">
                                        <div class="left">
                                            <select onchange="javascript:fn_change_viewPage(this.value);">
<%
if (comboboxList != null && comboboxList.size() > 0) {
    for (int idx = 0; idx < comboboxList.size(); idx++) {
        int listNum = idx + 1;
        
        BoardVO combo = comboboxList.get(idx);
        Integer currListID = new Integer(request.getParameter("listID"));

        if (combo.getListID() == currListID)
            out.println("<option value=\"" + combo.getListID() + "\" selected>" + listNum + ".  " + combo.getCompName() + " - " + combo.getInterviewName() + "</option>");
        else
            out.println("<option value=\"" + combo.getListID() + "\">" + listNum + ".  " + combo.getCompName() + " - " + combo.getInterviewName() + "</option>");
    }
}
%>
                                            </select>
                                        </div>
                                        <div class="right">
                                            <a href="./JobInterviewList.do?compType=<%= compType %>&page=<%= currPage %>"><img src="/hmg/images/web/kor/btn/btn_list02.gif" alt="목록" /></a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!--// 내용 -->
                    </div>
                    <!--//recruit-->
                </div>
            </div>
        </div>

        <hr />

        <!--footer-->
        <%@ include file="/WEB-INF/jsp/web/kor/include/footerEtc.jspf" %>
        <!--//footer-->

    </div>
    <!--//wrap-->
</body>
</html>